package com.subsequent.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 预约挂号表
 * @TableName appointments
 */
@TableName(value ="appointments")
@Data
public class Appointments implements Serializable {
    /**
     * 预约ID
     */
    @TableId(type = IdType.AUTO)
    private Integer appointmentId;

    /**
     * 患者ID
     */
    private Integer patientId;

    /**
     * 排班ID
     */
    private Integer scheduleId;

    /**
     * 预约编号
     */
    private String appointmentNo;

    /**
     * 预约日期
     */
    private Date appointmentDate;
    /**
     * 星期
     */
    private String week;

    /**
     * 时间段
     */
    private String timeSlot;

    /**
     * 就诊序号
     */
    private Integer serialNumber;

    /**
     * 预约状态
     */
    private Integer status;

    /**
     * 挂号费用
     */
    private BigDecimal fee;

    /**
     * 支付状态
     */
    private Integer paymentStatus;

    /**
     * 症状描述
     */
    private String symptoms;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 更新时间
     */
    private Date updatedAt;
    @TableField(exist = false)
    private String username;
    @TableField(exist = false)
    private String phone;
    @TableField(exist = false)
    private String idCard;
    @TableField(exist = false)
    private String deptName;
    @TableField(exist = false)
    private String doctorName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}